import {Component, Output, EventEmitter} from "@angular/core";
import {SHOW_ALL, SHOW_ATTENDING, SHOW_WITH_GUESTS} from "./actions";

@Component({
  selector: 'filter-select',
  templateUrl: 'filter-select.html'
})
export class FilterSelect {
  public filters = [
    {friendly: 'All', action: SHOW_ALL},
    {friendly: 'Attending', action: SHOW_ATTENDING},
    {friendly: 'Attending w/ Guests', action: SHOW_WITH_GUESTS}
  ]

  @Output() updateFilter = new EventEmitter<string>()
}
